package Extends;

public class Demo04Zi extends Demo04Fu {

    public void methodDemo04Zi() {

        System.out.println("子类方法执行！");
    }

    public void method() {
        System.out.println("子类重名方法执行！");
    }
}